package com.youkeyi.ddy.cloud.common.api.application.system.menu.dto;

import com.youkeyi.ddy.cloud.common.api.application.system.auth.dto.SystemAuthSimpleCloudDto;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * SystemMenuTreeItemCloudDto
 *
 * @Author liuxiawang
 * @Date 2024/3/8 10:01 AM
 * @Location shenzhen.china
 */
@Data
public class SystemMenuTreeItemCloudDto {

    private String menuPrimaryKey;

    /**
     * 菜单名称
     */
    private String name;

    /**
     * 菜单编码
     */
    private String menuCode;

    /**
     * 菜单跳转链接
     */
    private String url;

    /**
     * 菜单icon样式
     */
    private String icon;

    /**
     * 父级菜单Key
     */
    private String parentKey;

    // 权限
    private List<SystemAuthSimpleCloudDto> auths = new ArrayList<>();

    private List<SystemMenuTreeItemCloudDto> children = new ArrayList<>();
}
